<?php
class Sys_message
{
  	private $CI;
  	public function __construct(){
  		$this->CI =& get_instance();
  		$this->CI->load->helper('url');
  	}

    // 显示错误信息
    public  function show_error($errorMessage)
    {
       $data['info'] = $errorMessage;
       $this->CI->load->view('admin/sys_message/error',$data);
    }
    
    // 跳转页面
    public  function skip($seccMeassage,$url)
    {
       $data['info'] = $seccMeassage;
       $data['url']  = $url;
       $this->CI->load->view('admin/sys_message/secc',$data);
    }  
}